﻿using System;
using System.ComponentModel;

namespace ScanSnap.Domain
{
    public class BoolStringClass : INotifyPropertyChanged
    {
        public string TheText { get; set; }
        public int TheValue { get; set; }
        private bool selected;

        public bool Selected
        {
            get { return selected; }
            set
            {
                selected = value;
                //OnPropertyChanged("Selected");
            }
        }

        private void OnPropertyChanged(string p)
        {
            throw new NotImplementedException();
        }


        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String info)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(info));
        }
    }
}
